package com.olive.controller;

import java.security.Principal;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LoginUserInfoController {

	 @GetMapping("/api/member")
	 public Principal user(Principal member) {
	        return member;
	 }
	 
}
